home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-02 / evaltp5.zip / EVALUATE.DOC < prev    next >
Text File  |  1993-01-04  |  1KB  |  23 lines

  1.                         Evaluate  TPU for Turbo Pascal 5.5
  2.                                    10/11/89
  3.                               Unit from Don McIver
  4.                               SCB CheckBook Program
  5.  
  6.     The Unit EvalValue is a recurrsive Function that will take a string[255]
  7.     and return the arithmatic answwer to the string.  To see what functions
  8.     are supported look at the Eval.Pas file for Token listings.
  9.  
  10.     The Function EvalValue is used in a Command Line Argument to demo its
  11.     capacity.  I've asked Don to develop a more comprehensive usage of his
  12.     Eval Function which will include Memory Variables etc.  He'll eventually
  13.     get this out.  Until then I thought I would offer his basic unit from his
  14.     SCB Source Files.
  15.  
  16.     The use of recursion makes this a fast and compact method of dealing with
  17.     arithmatic operations in programs.
  18.  
  19.                                       Hope you enjoy.
  20.                                       Pat Dant
  21.                                       10/10/1989
  22.  
  23.